const webpack = require('webpack')

module.exports = {
  devServer: {
    // public: "0.0.0.0"
    // proxy: 'https://www.yupengsir.com/'
    proxy: {
      '/': {
        target: 'http://localhost:1234',
        ws: true,
        changeOrigin: true
      }
    }
  },
  configureWebpack: {
    plugins: [
      new webpack.ProvidePlugin({
        $: 'jquery',
        jQuery: 'jquery',
        'window.jQuery': 'jquery'
      })
    ]
  }
}
